from .base import *  # noqa

ADMINS = (
    ('xinting', 'wuxintingz@163.com'),
)

MANAGERS = ADMINS
MEDIA_ROOT = root('media/')

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'iyinyue.db',
        #    'ENGINE': 'django.db.backends.mysql',
        #    'NAME': 'iyinyue',
        # 'USER': 'root',
        # 'PASSWORD': 'root',
    }
}

# You might want to use sqlite3 for testing in local as it's much faster.
if IYINYUE_TEST:
    DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.sqlite3',
            'NAME': '/tmp/iyinyue_test.db',
        }
    }

print('Load Local')